package com.itheima.Jiuye06;
import java.time.Duration;
import java.time.LocalDateTime;

public class ZuoYe02 {
    public static void main(String[] args) {
        LocalDateTime l = LocalDateTime.now();
        LocalDateTime date = LocalDateTime.of(1998, 8,11,00,00);
        Duration between = Duration.between(date, l);
        long l1 = between.toMillis();
        long l2 = between.toDays();
        //long  a = l1/1000/60/60/24;
        System.out.println(l2);
    }
}

